package mhl.domain;
/*id INT PRIMARY KEY AUTO_INCREMENT,# 座位号
        State VARCHAR(20) NOT NULL DEFAULT '',#餐桌状态：0空闲，1已预定，2就餐中...
        orderName VARCHAR(50) NOT NULL DEFAULT '',#预定者姓名
        Tel VARCHAR(20) NOT NULL DEFAULT ''#预定者电话*/
public class dining {
    private Integer id;
    private String State;
    private String orderName;
    private String Tel;
    public dining(){}

    public dining(Integer id, String state, String orderName, String tel) {
        this.id = id;
        State = state;
        this.orderName = orderName;
        Tel = tel;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getState() {
        return State;
    }

    public void setState(String state) {
        State = state;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getTel() {
        return Tel;
    }

    public void setTel(String tel) {
        Tel = tel;
    }

    @Override
    public String toString() {
        return "dining{" +
                "id=" + id +
                ", State=" + State + '\'' +
                ", ordername='" + orderName + '\'' +
                ", Tel='" + Tel + '\'' +
                '}';
    }
}
